import Vue from 'vue'
import { URL_PREFIX } from '@/api/index'

/* /article/effect/organ_detail/{id}
池内稿件各网站传播效果情况 */
export const getManuSpreadEffect = (id) => Vue.http.get(URL_PREFIX + '/article/effect/organ_detail/' + id)

/* 
/article/effect/recently_site/{id}
渠道分布 */
export const getManuRecently_site = (id, params) =>
  Vue.http.get(URL_PREFIX + '/article/effect/recently_site/' + id, { params })

/* /article/effect/spread_trends/{id}
传播趋势 */
export const getManuSpreadTrends = (id, params) =>
  Vue.http.get(URL_PREFIX + '/article/effect/spread_trends/' + id, { params })

/* /article/effect/statics/{id}
稿件统计数据 */
export const getManuStaticsData = (id) => Vue.http.get(URL_PREFIX + '/article/effect/statics/' + id)

/* /article/effect/top_comment/{id}
最热评论 */
export const getManuHotComment = (id) => Vue.http.get(URL_PREFIX + '/article/effect/top_comment/' + id)